package com.ruoyi.xst.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会议列表对象 meeting
 * 
 * @author Rambo
 * @date 2024-11-21
 */
public class Meeting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 会议室ID */
    @Excel(name = "会议室ID")
    private Long rootId;

    /** 会议室 */
    @Excel(name = "会议室")
    private String rootName;

    /** 主题 */
    @Excel(name = "主题")
    private String name;

    /** 发起人 */
    @Excel(name = "发起人")
    private String creatorName;

    /** 会议类型 */
    @Excel(name = "会议类型")
    private Long type;

    /** 会议人数 */
    @Excel(name = "会议人数")
    private Long usersCount;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date start;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date end;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 所需服务 */
    @Excel(name = "所需服务")
    private String serviceRequired;

    /** 更新人 */
    private String udpateBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRootId(Long rootId) 
    {
        this.rootId = rootId;
    }

    public Long getRootId() 
    {
        return rootId;
    }
    public void setRootName(String rootName) 
    {
        this.rootName = rootName;
    }

    public String getRootName() 
    {
        return rootName;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCreatorName(String creatorName) 
    {
        this.creatorName = creatorName;
    }

    public String getCreatorName() 
    {
        return creatorName;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setUsersCount(Long usersCount) 
    {
        this.usersCount = usersCount;
    }

    public Long getUsersCount() 
    {
        return usersCount;
    }
    public void setStart(Date start) 
    {
        this.start = start;
    }

    public Date getStart() 
    {
        return start;
    }
    public void setEnd(Date end) 
    {
        this.end = end;
    }

    public Date getEnd() 
    {
        return end;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setServiceRequired(String serviceRequired) 
    {
        this.serviceRequired = serviceRequired;
    }

    public String getServiceRequired() 
    {
        return serviceRequired;
    }
    public void setUdpateBy(String udpateBy) 
    {
        this.udpateBy = udpateBy;
    }

    public String getUdpateBy() 
    {
        return udpateBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rootId", getRootId())
            .append("rootName", getRootName())
            .append("name", getName())
            .append("creatorName", getCreatorName())
            .append("type", getType())
            .append("usersCount", getUsersCount())
            .append("start", getStart())
            .append("end", getEnd())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("serviceRequired", getServiceRequired())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("udpateBy", getUdpateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
